{% extends "base.html" %}
{% block title %}Welcome to Django Jobs{% endblock %}
{% block head %}Welcome to Django Jobs{% endblock %}
{% block content %}
	{% if user.username %}
		<p>Welcome 
		{% if user.first_name %}
			{{ user.first_name }}!
		{% else %}
			{{ user.username }}!
		{% endif %}
			Here you can post and respond to job listings!</p>
	{% else %}
		<p>Welcome Vistor!
			You need to <a href="/login/">log in</a>
			before you can post and respond to job listings!</p>
	{% endif %}
{% endblock %}